//
//  NavigationView.h
//  基本框架
//
//  Created by runone02 on 2018/8/3.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol NavigationViewDelegate<NSObject>

/**
 导航栏滚动
 */
- (void)NavigationViewWithScrollerButton:(UIButton *)btn;

/**
 导航栏点击返回
 */
- (void)NavigationViewGoback;

/**
 导航栏分享
 */
- (void)NavigationViewGoShare;

/**
 导航栏点击收藏
 */
- (void)NavigationViewGoCollect;

@end

@interface NavigationView : UIView
/**收藏按钮 */
@property (nonatomic, strong) UIButton * collectBtn;
/** */
@property (nonatomic, weak) id<NavigationViewDelegate>naviDelegate;

/** 返回按钮*/
@property (nonatomic, strong) UIButton *backBtn;

/**分享按钮*/
@property (nonatomic, strong) UIButton *shareBtn;
@property (nonatomic, strong) UIView *parting;

/**滚动*/
@property (nonatomic, strong) UIScrollView *scrollView;
/**标题*/
@property (nonatomic, strong) NSArray *titleArr;

@property (nonatomic, assign) BOOL animatFinsh;

/**
 向左移动
 */
- (void)navigationAnimation;

/**
 恢复原位
 */
- (void)resetFrame;

/**
 选中恢复
 */
- (void)resetBtns;
@end
